package com.hghivln.erpwarehouse.system.common.lang;

public class Constant {
    /**
     * 状态码 正常200 错误-1  401无权限
     */
    public static final Integer OK = 200;
    public static final Integer ERROR = -1;
    public static final Integer ERROR_NOT_PERMISSION = 401;
    /**
     * 权限类型
     */
    public static final String TYPE_TOP_MENU = "topmenu";
    public static final String TYPE_LEFT_MENU= "leftmenu";
    public static final String TYPE_PERMISSION = "permission";
    public static final int AVAILABLE_TRUE = 1;

    /**
     * 用户类型   0 超级管理员   1 系统用户
     */
    public static final int USER_TYPE_SUPER = 0;
    public static final int USER_TYPE_NORMAL = 1;

    /**
     * 菜单是否展开 0不展开  1展开
     */
    public static final int SPREAD_TRUE = 1;
    public static final int SPREAD_FALSE = 0;

    /**
     *  用户默认密码
     */
    public static final String USER_DEFALT_PWD = "123456";

    /**
     * hash散列次数
     */
    public static final Integer HASHITERATIONS = 2;

    /**
     * 默认头像
     */
    public static final String IMAGES_DEFAULTIMG_JPG = "images/defaultimg.jpg";

    /**
     * 商品默认图片
     */
    public static final String DEFAULT_IMAGE_JPG = "/images/noDefaultImage.jpg";
}
